#ifndef AW_LOCAL_VIEWPORT
#define AW_LOCAL_VIEWPORT

class AW_LocalViewport {

public:
	AW_LocalViewport(int x,int y,int dx,int dy);
	virtual ~AW_LocalViewport();

	int get_x(void);
	int get_y(void);
	int get_dx(void);
	int get_dy(void);

	virtual void draw(void);
	virtual bool MouseClick(int x,int y); 

protected:
	virtual void draw_internal(void);
	virtual bool MouseClick_internal(int selected); 

	int m_viewport[4];
};

#endif

